for a in range(8):
    if a==5:
        continue
    print(a)